@phoneWidth: 320px;
@phoneHeight: 553px;
@phoneNavHeight: 42px;

.edit-main {
    width: 100%;
    height: 100%;
    position: relative;
    overflow-x: hidden;
}

.app-phone {
    position: fixed;
    top: calc(50% + 29px);
    left: 50%;
    width: @phoneWidth;
    height: @phoneHeight;
    transform: scale(1.15) translate(-50%, -50%);
    font-size: 14px;
    background-color: #fff;
    box-shadow: var(--edit-box-shadow-light);
    outline: 1px solid var(--edit-border-color);
    transform-origin: left top;
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    z-index: 2;
    .app-phone-dark {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.12);
        pointer-events: none;
        z-index: 999;
    }
    .right-capsule {
        position: absolute;
        top: 8px;
        right: 10px;
        height: 26px;
        padding: 0px 9px;
        border: 1px solid #eaeaea;
        border-radius: 26px;
        box-sizing: border-box;
        background-color: rgba(0, 0, 0, 0.07);
        display: flex;
        align-items: center;
        pointer-events: none;
        z-index: 999;
    }
}